//
//  BasaeWindow.swift
//  MetaU
//
//  Created by PerhapYs on 2022/4/19.
//

import UIKit

class BasaeWindow: UIWindow {

    override init(frame: CGRect) {
        super.init(frame: frame)
        
        #if DEBUG
        self.topView.frame = self.bounds
        self.addSubview(self.topView)
        #endif
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        
        self.bringSubviewToFront(self.topView)
    }
    lazy var topView: WindowTopLogView = {
        
        return WindowTopLogView()
    }()
}


